<?php
//=======================================
//###################################
// Kayako Web Solutions
//
// Source Copyright 2001-2004 Kayako Infotech Ltd.
// Unauthorized reproduction is not allowed
// License Number: $%LICENSE%$
// $Author: rlederman $ ($Date: 2007/07/31 01:28:44 $)
// $RCSfile: emailparser.php,v $ : $Revision: 1.12 $ 
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
//###################################
//=======================================

$__LANG = array (
    'mailparser' => 'Mail Parser',
    'desc_mailparser' => '',
    'queuelist' => 'E-mail Queue List',

    'insertemailqueue' => 'Insert E-mail Queue',
    'queuedetails' => 'Queue Details',
    'insertqueue' => 'Insert Queue',
    'queuenextstep' => 'Next &raquo;',
    'emailgeneralfields' => 'E-mail Fields',
    'emailimapfields' => 'Login Information (required only if POP3/IMAP is selected)',
    'emailaddress' => 'E-mail Queue Address',
    'desc_emailaddress' => 'Enter a valid e-mail address for the queue. Example: support@domain.com',
    'emailtype' => 'Queue Type',
    'desc_emailtype' => '',
    'emailfetchtype' => 'Fetch Type',
    'desc_emailfetchtype' => 'Specify how the mail parser will fetch new e-mail. Options other than <i>Pipe</i> require hostname, username and password to be specified.',
    'fetchpipe' => 'Pipe',
    'fetchpop3' => 'POP3',
    'fetchpop3ssl' => 'POP3 SSL',
    'fetchimap' => 'IMAP',
    'fetchimapssl' => 'IMAP SSL',
    'emailhost' => 'Host',
    'desc_emailhost' => 'Enter the mail server hostname. This can be an IP address or a hostname such as <i>mail.domain.com</i>.',
    'emailport' => 'Port',
    'desc_emailport' => 'Specify the mail server port. It is recommended that this value is left unchanged unless the mail server is running on a separate port than the one selected by default.',
    'emailusername' => 'Username',
    'desc_emailusername' => 'Enter the mail server username.',
    'emailpassword' => 'Password',
    'desc_emailpassword' => 'Enter your mail server password.',
    
    'queueoverrides' => 'Queue Overrides (Optional)',
    'queuefromname' => 'From Name',
    'desc_queuefromname' => 'If specified, all outgoing e-mails under this queue will have their <i>From Name</i> replaced with this name.',
    'queuefromemail' => 'From E-mail',
    'desc_queuefromemail' => 'If specified, all outgoing e-mails under this queue will have their <i>From E-mail</i> replaced with this address.',
    'queuesettings' => 'Queue Settings',
    'templategroup' => 'Queue Template Group',
    'desc_templategroup' => 'Select the queue template group. The settings &amp; templates from this template group are used for the newly-created e-mail queue.',
    'queuesignature' => 'Queue Signature (Optional)',
    'desc_queuesignature' => 'Enter the queue signature. This signature is appended to all outgoing e-mail under this queue.',
    'registrationrequired' => 'Registration Required?',
    'desc_registrationrequired' => 'If enabled, only registered users will be able to create tickets/bugs/replies under this e-mail queue.',
    'issueautoresponder' => 'Enable New Issue Autoresponder?',
    'desc_issueautoresponder' => 'If enabled, the system will send an Autoresponder message confirming the receipt of a new issue.',
    'replyautoresponder' => 'Enable New Reply Autoresponder?',
    'desc_replyautoresponder' => 'If enabled, the system will send an Autoresponder message confirming the receipt of a new reply under an already existing issue.',
    'ticketfields' => 'Ticket Fields',
    'queuedepartment' => 'Department',
    'desc_queuedepartment' => 'Specify the department under which new tickets will be created.',
    'queueticketstatus' => 'Ticket Status',
    'desc_queueticketstatus' => 'Select the ticket status for this queue. Any new tickets under this queue will be created using this status',
    'queuepriority' => 'Ticket Priority',
    'desc_queuepriority' => 'Select the ticket priority for this queue. This is not related to the "Priority" of an incoming e-mail. Any new tickets created under this queue will be assigned the selected priority.',
    'failedtocreatequeue' => 'ERROR: Failed to create e-mail queue',
    'redirect_queueinsert' => 'E-mail queue inserted successfully.',
    'queueinsertconfirm' => 'E-mail queue "%s" inserted successfully',
    'depdeleteconfirm' => 'E-mail queue "%s" deleted successfully',
    'invalidemailqueue' => 'Invalid e-mail queue specified',
    'editemailqueue' => 'Edit E-mail Queue',
    'emailqueues' => 'E-mail Queues',
    'queueupdconfirm' => 'E-mail queue "%s" updated successfully',
    'invalidparserlog' => 'Invalid parser log entry. Make sure that the parser log entry exists in the database and has not been deleted.',
    'desc_parserlog' => 'The mail parser logs all incoming e-mail under the log with useful information to help debug any problems. To disable the logging of e-mail or change other settings, navigate to <i>Settings &gt; Mail Parser</i>.',
    'desc_mailparser' => 'The mail parser is a crucial component of '.SWIFTPRODUCT .'. It includes some powerful features like parser rules, catch-all rules, breaklines, and banning to simplify your workflow. The mail parser uses e-mail queues to associate different information with a department and to find out which department an incoming e-mail should be routed to. For more information, please refer to the Mail Parser section of the user manual.',
    'queueprefix' => 'Queue Subject Prefix (Optional)',
    'desc_queueprefix' => 'If specified, all mail subjects under this queue will be prefixed with the specified value. For example, if you specify the queue prefix as <i>SUPPORT</i> the outgoing e-mail subject for staff replies will be: <i>[SUPPORT #ABC-12345]: Actual Subject</i>',
    'invalidqueueprefix' => 'Invalid queue prefix; only alphanumeric characters are allowed.',

    // View Parser Log
    'viewparserlog' => 'View Parser Log',
    'parserlogentry' => 'Parser Log #%s',
    'generalinformation' => 'General Information',
    'mimedata' => 'MIME Data',
    'ppticketid' => 'Ticket ID: ',
    'ppticketmaskid' => 'Ticket Mask ID: ',
    'ppdate' => 'Date: ',
    'pptimeline' => 'Timeline: ',
    'ppemailqueue' => 'E-mail Queue: ',
    'ppstatus' => 'Process Status: ',
    'ppsubject' => 'Subject: ',
    'ppfromemail' => 'From E-mail: ',
    'pptoemail' => 'Destination E-mail: ',
    'ppsize' => 'Size: ',
    'pptimetaken' => 'Time Taken: ',
    'ppdesc' => 'Description: ',
    'ppresult' => 'Result',
    'pparserlogid' => 'Parser Log ID: ',

    // Parser Log
    'parserlog' => 'Parser Log',
    'parserlogs' => 'Parser Logs',
    'emailsubject' => 'E-mail Subject',
    'emailsubjectresult' => 'E-mail Subject &amp; Result',
    'emailstatus' => 'Status',
    'emailsubresultformat' => '%s<BR /><B>Result:</B> %s',
    'emailparsetime' => 'Parse Time',
    'emailfrom' => '"From:" E-mail',
    'emailto' => '"To:" E-mail',
    'emaildescription' => 'Description',
    'emailticketid' => 'Ticket/Bug ID',
    'emailticketmaskid' => 'Ticket Mask ID',
    'emailcontents' => 'E-mail Contents',

    'nosubject' => '(No Subject)',


    // Breaklines
    'breaklines' => 'Breaklines',
    'desc_breaklines' => 'The Breakline feature in '. SWIFTPRODUCT .' prevents the addition of previously quoted content in an e-mail. '. SWIFTPRODUCT .' will strip the entire text that follows the breakline. This helps keep the content of the incoming e-mail "clean." If the Reply Content is ever empty, the entire message is stored in the database. Example:<BR /><BR /><b>Original E-mail:</b><BR />Reply Content<BR />-----Original Message-----<BR />Quoted Message<BR /><BR /><b>Result:</b><BR />Reply Content<BR /><BR />',
    'breaklinelist' => 'Breakline List',
    'breakline' => 'Breakline',
    'insertbreakline' => 'Insert Breakline',
    'desc_breakline' => '',
    'breaklinedelconfirm' => 'Breakline deleted successfully',
    'breaklineinsertconfirm' => 'Breakline inserted successfully',

    // Parser Errors
    'errnorecipients' => 'No recipients found',
    'errnofromemail' => 'No from e-mail specified',
    'errnoqueues' => 'No assigned queues found for mail recipients',
    'errfloodprotection' => 'Flood protection triggered',
    'scccreatedticket' => 'Created ticket #%s',
    'scccreatedreply' => 'Created reply #%s to ticket #%s',
    'sctcreatedreply' => 'Created reply from third party #%s to ticket #%s',
    'scccreatedstaffreply' => 'Created staff reply #%s to ticket #%s',
    'clearedduelimit' => '-- MIME data cleared due to the size limit under Settings > Parser --',
    'errusernotreg' => 'User %s is not registered. The queue settings require that the user be registered.',
    'erremailbanned' => 'User e-mail address is banned',
    'actionrepprefix' => 'Re: ',

    // Misc
    'reprocessemail' => 'Reprocess E-mail',
);
?>